#include <stdio.h>
#include <assert.h>
#include "log_err.h"
#include "machine.h"
#include "builtins.h"
int main(void) {
  assert(sizeof(word) == 8);
  printf("%lu\n", sizeof(word));

  word x, y;
  word z;

  x = OBJECT_TAG_VAL(tag_integer,77);
  y = OBJECT_TAG_VAL(tag_integer,23);
  z = bltn_plus(x,y);
  
  printf("%s\n", tag_name[TAG(z)]);
  printf("%lu\n", VAL(z));
}
